﻿@model Stardust.Models.TomarAsistencia

@{
    ViewBag.Title = "Capturar Asistencia";
}



<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/custom.js")" type="text/javascript"></script>
    @Html.ValidationSummary(true)

@if ( !String.IsNullOrEmpty(ViewBag.error)) { 
    <div class="nNote nWarning hideit">
        <p><strong>AVISO: </strong>@ViewBag.error</p>
    </div>
}

@using (Html.BeginForm("CapturaAsistencia", "Empleado", FormMethod.Post, new { @class = "form" }))
{
    <fieldset>
        <div class = "widget" >
            <div class = "title" ><h6>Registrar Asistencia </h6></div>

            @*<div class = "formRow" >
                @Html.LabelFor( model => model.nombreEmpleado )
                <div class = "formRight" > @Html.DropDownListFor( model => model.nombreEmpleado , new SelectList( ViewBag.empleados , "ID" , "nombres" ) , "Elija un usuario... " ) </div>
                <div class = "clear" ></div>
            </div>*@

            <div class = "formRow" >
                @Html.LabelFor(model => model.usuario)
                <div class = "formRight" > @Html.TextBoxFor(model => model.usuario) </div>
                <div class = "clear" ></div>
            </div>
             <div class = "formRow" >
               
                @Html.LabelFor(model => model.pasword)
                <div class = "formRight" > @Html.PasswordFor(model => model.pasword) </div>
                <div class = "clear" ></div>
            </div>

           
        </div>
        <p>
            <input class = "redB" type="submit" value="Registrar" />
        </p>
    </fieldset>
}



<p></p><p></p><p></p><p></p><p></p><p></p><p></p>